<html>
<body>

<form action="/api_key/edit" method="post">
	<div>Api Key: <input type="text" name="api_key" value="{{ api.api_key }}"></div>
	<div>Secret Key: <input type="text" name="secret_key" value="{{ api.secret_key }}"></div>
	<div>Name: <input type="text" name="name" value="{{ api.name }}"></div>
	<div>Email: <input type="text" name="email" value="{{ api.email }}"></div>
	<div>Enable: <input type="checkbox" name="api_enabled" {% if api.enabled %} checked {% endif %}></div>
	<div><input type="hidden" name="key" value="{{ key }}"></div>
	<div><input type="submit" value="Update"></div>	
</form>

</body>
</html>